package cate.game.role.pvp.guildwar.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBGuildWar;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "公会战-挑战 の 返回")
public class GuildWarChallengeResp implements MsgOutput {

    @NoteField("是否胜利")
    public boolean win;

    @NoteField("奖励")
    public MixRes reward;

    public GuildWarChallengeResp() {
    }

    public GuildWarChallengeResp(boolean win, MixRes reward) {
        this.win = win;
        this.reward = reward;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGuildWar.CHALLENGE_RESP;
    }
}
